import Vue from 'vue'
import Router from 'vue-router'
import Menu from '@/components/Menu'
import Hearder from '@/components/Hearder'
//课程管理
import CourseShow from '@/components/Course/CourseShow'
import CourseCheck from '@/components/Course/CourseCheck'
import CourseType from '@/components/Course/CourseType'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/Menu',
      name: 'Menu',
      component: Menu
    },
    {
      path: '/Hearder',
      name: 'Hearder',
      component: Hearder
    },
    {
      path: '/CourseShow',
      name: 'CourseShow',
      component: CourseShow
    },
    {
      path: '/CourseCheck',
      name: 'CourseCheck',
      component: CourseCheck
    },
    {
      path: '/CourseType',
      name: 'CourseType',
      component: CourseType
    },
  ]
})
